import Vue from 'vue'
import vuex from 'vuex'

import router from './router'
import store from './store/index'

import AppComponent from './component/module/app/app.component'

Vue.use(vuex);

let config = {
  el: '#app',
  router: router,
  store: store,
  components: {
    AppComponent
  },
  template: `
    <div>
      <h3>root</h3>
      <router-view></router-view>
    </div>
  `
}

new Vue(config)

// theme做继承
export default config
